.ag-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.ag-overlay-panel {
    display: flex;
    height: 100%;
    width: 100%;
}

.ag-overlay-wrapper {
    display: flex;
    flex: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ag-overlay-loading-wrapper,
.ag-overlay-exporting-wrapper,
.ag-overlay-modal-wrapper {
    /* prevent interaction with grid while it's loading */
    pointer-events: all;
}

.ag-overlay-loading-center,
.ag-overlay-exporting-center {
    border: solid var(--ag-border-width) var(--ag-border-color);
    background: var(--ag-background-color);
    border-radius: var(--ag-border-radius);
    box-shadow: var(--ag-popup-shadow);
    padding: var(--ag-spacing);
    display: flex;
}
